GtkLabel: don't eat too many button release events
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 Feb 2014 04:09:44 +0000 (23:09 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Feb 2014 04:09:44 +0000 (23:09 -0500)
commit62254456f7a4b2401e15c5383e0a06cacec2e069
treea3adb238c33bb9173a82539ffa8bd42e2e857ea5
parent885026851f1c55b1c19f8fcbc6971461e0f5ad5f
GtkLabel: don't eat too many button release events

We should only eat button release events when the label is
actually selectable, since the comment indicates that we
want to eat the release events belonging to press events
that triggered a selection. This fixes problems with actions
on parent widgets that are triggered by button release,
as seen in this bug:

https://bugzilla.gnome.org/show_bug.cgi?id=724541
gtk/gtklabel.c